package design.mode.iterator.item1;

/**
 * /**
 *
 * @author ZhongMingde on 2021/11/20
 */

public class ArrayList<E> implements List<E> {

  @Override
  public Iterator iterator() {
    return new ArrayIterator(this);
  }

  public int size(){
    return 0;
  }

  public E get(int index){
    return null;
  }

  public void add(E e){

  }
}
